<template>
  <div class="home">
    <div>欢迎来到 {{ platformTitle }}</div>
  </div>
</template>

<script>
 export default {
   data () {
     return {
       platformTitle: "DGZ IMP 开发平台",

     }
   },
   mounted() {
     this.getSystemInfo()
   },
   methods:{
     getSystemInfo() {
       let data = {
         module: 1
       }
       http.get('api/Bas_Parameter/GetParamerIniByModule', data).then(r => {
         if (!!r) {
           let title = r.find(i => i.ParamName == 'system_title')
           if (!!title && !!title.ParamValue) {
             this.platformTitle = title?.ParamValue
           }

         }
       })
     },
   },
 }
</script>

<style lang="scss"  >
  .home {
    width: 100vw;
    height: calc(100vh - 50px);
    display: flex;
    align-items: center;
    justify-content: center;
  }
 
</style>
